import java.io.PrintStream;

/**
 * Created by balau on 3/8/14.
 *
 */
public class Board {

    PrintStream printStream;
    String [] gameState = new String [9];

    public Board(PrintStream printStream, String [] gameState) {
        this.printStream = printStream;
        this.gameState = gameState;
    }

    public void print() {
        printStream.println("   |   |   \n___________\n   |   |   \n___________\n   |   |   ");
    }

    public String [] update(int i, String x) {
        gameState[i-1] = "X";
        return gameState;
    }
}

